#ifndef _DISTANCE_H_
#define _DISTANCE_H_
#include "common.h"
#include "page_manager.h"
#include "page_ids.h"

#define DISTANCE_WAVEFORM_REDUCTION_FACTOR 8.3      // 定距波形衰减倍数

extern PageDescriptor distance_page;  // 添加这行声明

void distance_page_display(void);//绘制定距页静态UI
void ui_distance_page_value_set(float p, float i, float d, int distance, int target,int quick_update);//绘制定距页参数值的变化

void distance_page_handler(PageEvent event, PageParam *param);
#endif